package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.Permission;
import cn.wolfcode.car.qo.PermissionQueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    List<Permission> selectForQo(PermissionQueryObject qo);

    List<Permission> selectByRoleId(Long id);

    List<String> selectExpressionByEmployeeId(Long id);

    List<String> selectExpression();

}